﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace ReportingManagement.Components
{
    /// <summary>
    /// Interaction logic for MTUHAReportsTab.xaml
    /// </summary>
    public partial class MTUHAReportsTab : UserControl
    {
        public MTUHAReportsTab()
        {
            InitializeComponent();
        }

        #region They were used but not anymore
        private void btnSave_Click(object sender, RoutedEventArgs e)
        {
            if (tabControl.SelectedItem == tabItemANC) ancForm.SaveChanges();
            if (tabControl.SelectedItem == tabItemLD) ldForm.SaveChanges();
        }

        private void btnReset_Click(object sender, RoutedEventArgs e)
        {
            if (tabControl.SelectedItem == tabItemANC) ancForm.Reset();
            if (tabControl.SelectedItem == tabItemLD) ldForm.Reset();
        }
        #endregion
    }
}
